home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #6 / Amiga Plus CD - 1996 - No. 06.iso / pd / texte / texfontinst / contrib / helminck / rmligdups.awk < prev    next >
Text File  |  1996-07-30  |  390b  |  15 lines

  1. # At kern steps, just save away the value, so only the last one will be output.
  2. /\(KRN/        { lk_table[$3] = $0; next }
  3.  
  4. # Assume (STOP)'s are in the right place.
  5. # This rearranges the order, but oh well.
  6. # It's random by the time the vpl file has been written anyway.
  7. /\(STOP\)/    { for (lk in lk_table)
  8.             {
  9.               print lk_table[lk];
  10.               delete lk_table[lk];
  11.             }
  12.         }
  13.  
  14.         { print }
  15.